package com.miao.controller;

import com.miao.vo.ResultVo;
import com.miao.vo.UserVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: 丰
 * @date: 2023/3/2 19:35
 */
@RestController
@RequestMapping("/file")
@Api(tags = "文件上传接口")
public class FileController {

    @GetMapping("/upload")
    @ApiOperation("文件上传")
    public ResultVo<String> upload(@RequestParam("file") MultipartFile uploadFile, HttpServletRequest req){
        return null;
    }

}
